package com.java.demo.controller;

import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

@Component // 更简单地实现了 Bean 的存储
public class StudentController4 {
    public void sayHi() {
        System.out.println("do StudentController4 sayHi()");
    }
}
